@extends('layout.home.login');
@section('title')
数码-登录
@stop
@section('content')
	<div class="login-banner">
			<div class="login-main">
				<div class="login-banner-bg">
					<span></span><img src="/home/images/big.jpg" />
				</div>
				<div class="login-box">

					<h3 class="title">登录商城</h3>

					<div class="clear"></div>
					
					<div class="login-form">
					    <form action="/home/login/dologin" method="post">
					    	{{ csrf_field() }}	
						    <div class="user-name">
							    <label for="user" style="margin-top:10px;height:2px;"><i class="am-icon-user"></i></label>
							    <input type="text" name="user_phone" id="user" value="{{ $user_phone or old('user_phone')}}" placeholder="邮箱/手机/用户名" required>
			                </div>
			                <div class="user-pass">
							    <label for="password" style="margin-top:10px;height:2px;"><i class="am-icon-lock"></i></label>
							    <input type="password" name="password" id="password" placeholder="请输入密码" required>
             				</div>
             				<span style="font-size:12px;color:green;">{{ $success or '' }}</span>
             				<span style="font-size:12px;color:green;">{{ session('error') }}</span>
             				<div class="user-pass" style="margin-top:-10px;">						    
							    <input type="text" name="code" placeholder="验证码"  style="width:200px;margin-top:20px;" required>
							    <img src="/code" alt="" title="点击更换" onclick="this.src=this.src+'?a=1'" style="margin-top:21px;float:right;">
			        		</div>
			        		
			        		<div class="am-cf">
								<input type="submit" name="" value="登 录" class="am-btn am-btn-primary am-btn-sm">
							</div>
          				</form>
       				</div>
        
		            <div class="login-links" style="margin-top35px;" >
		                <label for="remember-me" maigin-buttom:20px;><input id="remember-me" type="checkbox">记住密码</label>
						<a href="/home/register/repassword" class="am-fr">忘记密码</a>
						<a href="/home/register" class="zcnext am-fr am-btn-default">注册</a>
						<br />
       				</div>
					
					<div class="partner">		
						<h3>合作账号</h3>
						<div class="am-btn-group">
							<li><a href="#"><i class="am-icon-qq am-icon-sm"></i><span>QQ登录</span></a></li>
							<li><a href="#"><i class="am-icon-weibo am-icon-sm"></i><span>微博登录</span> </a></li>
							<li><a href="#"><i class="am-icon-weixin am-icon-sm"></i><span>微信登录</span> </a></li>
						</div>
					</div>	

				</div>
			</div>
		</div>
@endsection